package com.hadoop.project.entity.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * @Description: 
 * @author:alexmaodali
 * @date:2025/4/13
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TabRank implements Serializable {

	/**
	 * 自增ID
	 */
	private Long id;

	/**
	 * 出现的标签的名称
	 */
	private String tname;

	/**
	 * 标签出现的总次数
	 */
	private Long cnt;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return this.id;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public String getTname() {
		return this.tname;
	}

	public void setCnt(Long cnt) {
		this.cnt = cnt;
	}

	public Long getCnt() {
		return this.cnt;
	}

	@Override
	public String toString() {
		return "自增ID:" + (id == null ? "空" : id) + ",出现的标签的名称:" + (tname == null ? "空" : tname) + ",标签出现的总次数:" + (cnt == null ? "空" : cnt);
	}
}
